package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 批发商管理对象 wholesaler
 * 
 * @author ruoyi
 * @date 2024-11-27
 */
public class Wholesaler extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 批发商id */
    private Long wholesalerId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 店名 */
    @Excel(name = "店名")
    private String wholesalerName;

    /** 商铺热线 */
    @Excel(name = "商铺热线")
    private String phone;

    /** 店铺售卖服装类型 */
    @Excel(name = "店铺售卖服装类型")
    private String type;

    /** 批发商档口类型 */
    @Excel(name = "批发商档口类型")
    private String grade;

    /** 店铺描述 */
    @Excel(name = "店铺描述")
    private String description;

    /** 店铺地址 */
    @Excel(name = "店铺地址")
    private String location;

    /** 开店资质 */
    @Excel(name = "开店资质")
    private String licence;

    /** 开店人姓名 */
    @Excel(name = "开店人姓名")
    private String keeperName;

    /** 开店人证件 */
    @Excel(name = "开店人证件")
    private String keeperIDcard;

    /** 审核通过状态（0待审核 1审核通过 2审核不通过） */
    @Excel(name = "审核通过状态", readConverterExp = "0=待审核,1=审核通过,2=审核不通过")
    private String status;

    public void setWholesalerId(Long wholesalerId) 
    {
        this.wholesalerId = wholesalerId;
    }

    public Long getWholesalerId() 
    {
        return wholesalerId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setWholesalerName(String wholesalerName) 
    {
        this.wholesalerName = wholesalerName;
    }

    public String getWholesalerName() 
    {
        return wholesalerName;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setGrade(String grade) 
    {
        this.grade = grade;
    }

    public String getGrade() 
    {
        return grade;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }
    public void setLicence(String licence) 
    {
        this.licence = licence;
    }

    public String getLicence() 
    {
        return licence;
    }
    public void setKeeperName(String keeperName) 
    {
        this.keeperName = keeperName;
    }

    public String getKeeperName() 
    {
        return keeperName;
    }
    public void setKeeperIDcard(String keeperIDcard) 
    {
        this.keeperIDcard = keeperIDcard;
    }

    public String getKeeperIDcard() 
    {
        return keeperIDcard;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("wholesalerId", getWholesalerId())
            .append("userId", getUserId())
            .append("wholesalerName", getWholesalerName())
            .append("phone", getPhone())
            .append("type", getType())
            .append("grade", getGrade())
            .append("description", getDescription())
            .append("location", getLocation())
            .append("licence", getLicence())
            .append("keeperName", getKeeperName())
            .append("keeperIDcard", getKeeperIDcard())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
